package com.uzai.common.entity;

/**
 * @Auther: xiaoyuexl
 * @Date: 2021/8/27 14:11
 * @Description:
 */
public class User extends BaseEntity {
    private static final long serialVersionUID = -5053625504537286751L;
    /**
     * 运营商ID
     */
    private Long merId;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 密码
     */
    private String pwd;
    /**
     * 用户昵称
     */
    private String nickName;
    /**
     * 用户头像
     */
    private String headImg;
    /**
     * 出生日期
     */
    private Integer birthTime;
    /**
     * 性别 性别0未知 1男 2女
     */
    private Integer gender;
    /**
     * 国家
     */
    private String country;
    /**
     * 省份
     */
    private String province;
    /**
     * 城市
     */
    private String city;
    /**
     * 邀请码
     */
    private String inviteCode;
    /**
     * 用户积分
     */
    private Integer integral;
    /**
     * 用户余额
     */
    private Double balance;
    /**
     * 支付宝姓名
     */
    private String alipayName;
    /**
     * 支付宝账号
     */
    private String alipayAccount;
    /**
     * 用户身份（1普通用户，2代理，3合伙人）
     */
    private Integer identity;
    /**
     * 用户类型Id
     */
    private Long userType;
    /**
     * 合伙人Id
     */
    private Long partnerId;
    /**
     * 代理Id
     */
    private Long agentId;
    /**
     * 上级Id
     */
    private Long parentId;
    /**
     * 代理树，最左边为直接代理
     */
    private String agentInfo;
    /**
     * 买家推荐树，最左边为直接推荐
     */
    private String parentInfo;
    /**
     * 设备唯一Id
     */
    private Long deviceUniqueId;
    /**
     * 设备类型
     */
    private String deviceType;
    /**
     * 淘宝订单(订单号最后6)
     */
    private Integer tbLastOrderNo;
    /**
     * 注册来源端(移动/PC)
     */
    private Integer regSource;

    /**
     * 注册来源(好友请求来源)
     */
    private Integer regChannel;

    /**
     * 注册时间
     */
    private Integer regTime;
    /**
     * 微信群ID,
     *
     * 公众号无效
     */
    private String wxGroupId;
    /**
     * 登陆时间
     */
    private Integer loginTime;
    /**
     * 首查时间
     */
    private Integer firstQueryTime;

    /**
     * 首单时间
     */
    private Integer firstOrderTime;

    /**
     * 最后下单时间
     */
    private Integer lastOrderTime;
    /**
     * 最后签到时间
     */
    private Integer lastSignTime;
    /**
     * 订单笔数
     */
    private Integer orderCount;
    /**
     * 连续X天签到
     */
    private Integer continueSignDay;
    /**
     * 签到次数
     */
    private Integer signCount;
    /**
     * 注册IP
     */
    private String regIp;
    /**
     * 登录IP
     */
    private String loginIp;
    /**
     * 备注
     */
    private String remark;
    /**
     * 运营商给用户打的标签
     */
    private String tags;
    /**
     * 系统给用户打的标签
     */
    private String sysTags;
    /**
     * 定向比例Id
     */
    private String priRewardRules;
    /**
     * 用户绑定的UnionId
     */
    private String uzaiUnionId;
    /**
     * 数据版本号-乐观锁
     */
    private Integer version;

    /**
     * 非数据库字段-旧的版本号字段，用于修改数据作为条件
     */
    private Integer oldVersion;
    /**
     * 扩展信息
     */
    private String extInfo;

    /**
     * 消息订阅信息
     */
    private String subscribeInfo;

    /**
     * 删除状态 删除状态(0-未删除；1-已删除）
     */
    private Integer delStatus;

    /**
     * 用户业务终端唯一id
     */
    private String bizUserId;

    /**
     * 是否是僵尸粉（0否，1是）
     */
    private Integer dieStatus;

    /**
     * 最后群发时间
     */
    private Integer lastGroupSendTime;

    /**
     * 最后单品推荐查询时间 30天内不做改变
     */
    private Integer lastScRecTime;

    /**
     * 单品推荐查询ip
     */
    private String scRecIp;

    /**
     * 单品推荐查询 ip省份
     */
    private String scRecProvince;

    /**
     * 单品推荐查询 ip城市
     */
    private String scRecCity;
    /**
     * 设备信息
     */
    private String deviceInfos;

    /**
     * 进粉渠道ID
     */
    private Long addFanChannelId;

    /**
     * 进粉渠道名称
     */
    private String addFanChannelName;

    /**
     * 是否是新会员
     */
    private Boolean isNewMember;


    public Long getAddFanChannelId() {
        return addFanChannelId;
    }

    public void setAddFanChannelId(Long addFanChannelId) {
        this.addFanChannelId = addFanChannelId;
    }

    public String getAddFanChannelName() {
        return addFanChannelName;
    }

    public void setAddFanChannelName(String addFanChannelName) {
        this.addFanChannelName = addFanChannelName;
    }

    public Boolean getNewMember() {
        return isNewMember;
    }

    public void setNewMember(Boolean newMember) {
        isNewMember = newMember;
    }

    public Integer getLastScRecTime() {
        return lastScRecTime;
    }

    public void setLastScRecTime(Integer lastScRecTime) {
        this.lastScRecTime = lastScRecTime;
    }

    public String getScRecIp() {
        return scRecIp;
    }

    public void setScRecIp(String scRecIp) {
        this.scRecIp = scRecIp;
    }

    public String getScRecProvince() {
        return scRecProvince;
    }

    public void setScRecProvince(String scRecProvince) {
        this.scRecProvince = scRecProvince;
    }

    public String getScRecCity() {
        return scRecCity;
    }

    public void setScRecCity(String scRecCity) {
        this.scRecCity = scRecCity;
    }

    public Long getMerId() {
        return merId;
    }

    public void setMerId(Long merId) {
        this.merId = merId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getNickName() {
        return nickName==null?"":nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public String getAlipayName() {
        return alipayName;
    }

    public void setAlipayName(String alipayName) {
        this.alipayName = alipayName;
    }

    public String getAlipayAccount() {
        return alipayAccount;
    }

    public void setAlipayAccount(String alipayAccount) {
        this.alipayAccount = alipayAccount;
    }

    public Integer getIdentity() {
        return identity;
    }

    public void setIdentity(Integer identity) {
        this.identity = identity;
    }

    public Long getUserType() {
        return userType;
    }

    public void setUserType(Long userType) {
        this.userType = userType;
    }

    public Long getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(Long partnerId) {
        this.partnerId = partnerId;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getAgentInfo() {
        return agentInfo;
    }

    public void setAgentInfo(String agentInfo) {
        this.agentInfo = agentInfo;
    }

    public String getParentInfo() {
        return parentInfo;
    }

    public void setParentInfo(String parentInfo) {
        this.parentInfo = parentInfo;
    }

    public Long getDeviceUniqueId() {
        return deviceUniqueId;
    }

    public void setDeviceUniqueId(Long deviceUniqueId) {
        this.deviceUniqueId = deviceUniqueId;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public Integer getTbLastOrderNo() {
        return tbLastOrderNo;
    }

    public void setTbLastOrderNo(Integer tbLastOrderNo) {
        this.tbLastOrderNo = tbLastOrderNo;
    }

    public Integer getRegSource() {
        return regSource;
    }

    public void setRegSource(Integer regSource) {
        this.regSource = regSource;
    }

    public Integer getRegTime() {
        return regTime;
    }

    public void setRegTime(Integer regTime) {
        this.regTime = regTime;
    }

    public Integer getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Integer loginTime) {
        this.loginTime = loginTime;
    }

    public Integer getLastOrderTime() {
        return lastOrderTime;
    }

    public void setLastOrderTime(Integer lastOrderTime) {
        this.lastOrderTime = lastOrderTime;
    }

    public Integer getLastSignTime() {
        return lastSignTime;
    }

    public void setLastSignTime(Integer lastSignTime) {
        this.lastSignTime = lastSignTime;
    }

    public Integer getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(Integer orderCount) {
        this.orderCount = orderCount;
    }

    public Integer getContinueSignDay() {
        return continueSignDay;
    }

    public void setContinueSignDay(Integer continueSignDay) {
        this.continueSignDay = continueSignDay;
    }

    public Integer getSignCount() {
        return signCount;
    }

    public void setSignCount(Integer signCount) {
        this.signCount = signCount;
    }

    public String getRegIp() {
        return regIp;
    }

    public void setRegIp(String regIp) {
        this.regIp = regIp;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getSysTags() {
        return sysTags;
    }

    public void setSysTags(String sysTags) {
        this.sysTags = sysTags;
    }

    public String getPriRewardRules() {
        return priRewardRules;
    }

    public void setPriRewardRules(String priRewardRules) {
        this.priRewardRules = priRewardRules;
    }

    public String getUzaiUnionId() {
        return uzaiUnionId;
    }

    public void setUzaiUnionId(String uzaiUnionId) {
        this.uzaiUnionId = uzaiUnionId;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getOldVersion() {
        return oldVersion;
    }

    public void setOldVersion(Integer oldVersion) {
        this.oldVersion = oldVersion;
    }

    public String getExtInfo() {
        return extInfo;
    }

    public void setExtInfo(String extInfo) {
        this.extInfo = extInfo;
    }

    public String getSubscribeInfo() {
        return subscribeInfo;
    }

    public void setSubscribeInfo(String subscribeInfo) {
        this.subscribeInfo = subscribeInfo;
    }

    public Integer getDelStatus() {
        return delStatus;
    }

    public void setDelStatus(Integer delStatus) {
        this.delStatus = delStatus;
    }

    public Integer getFirstQueryTime() {
        return firstQueryTime;
    }

    public void setFirstQueryTime(Integer firstQueryTime) {
        this.firstQueryTime = firstQueryTime;
    }

    public Integer getFirstOrderTime() {
        return firstOrderTime;
    }

    public void setFirstOrderTime(Integer firstOrderTime) {
        this.firstOrderTime = firstOrderTime;
    }

    public String getBizUserId() {
        return bizUserId;
    }

    public void setBizUserId(String bizUserId) {
        this.bizUserId = bizUserId;
    }

    public Integer getDieStatus() {
        return dieStatus;
    }

    public void setDieStatus(Integer dieStatus) {
        this.dieStatus = dieStatus;
    }

    public Integer getLastGroupSendTime() {
        return lastGroupSendTime;
    }

    public void setLastGroupSendTime(Integer lastGroupSendTime) {
        this.lastGroupSendTime = lastGroupSendTime;
    }

    public String getDeviceInfos() {
        return deviceInfos;
    }

    public void setDeviceInfos(String deviceInfos) {
        this.deviceInfos = deviceInfos;
    }

    public String getWxGroupId() {
        return wxGroupId;
    }

    public void setWxGroupId(String wxGroupId) {
        this.wxGroupId = wxGroupId;
    }

    public Integer getBirthTime() {
        return birthTime;
    }

    public void setBirthTime(Integer birthTime) {
        this.birthTime = birthTime;
    }

    public Integer getRegChannel() {
        return regChannel;
    }

    public void setRegChannel(Integer regChannel) {
        this.regChannel = regChannel;
    }
}
